package com.example.demo.service.requestRvo;

import com.example.demo.service.requestRvo.annotation.UseField;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@UseField(listName = "queryList")
public class QueryListRVO {
//    @NotBlank(message = "id不能为空")
    @UseField("id")
    private String id;

    @NotBlank(message = "pageNumber不能为空")
    @UseField("页数")
    private Integer pageNumber;

    @NotBlank(message = "pageSize不能为空")
    @UseField("页面大小")
    private Integer pageSize;
}
